package com.wanxi.springboot.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("学生实体")
public class User {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("名字")
    private String name;
    @ApiModelProperty("年龄 你有什么想给前端说的就在这里说就可以了<span style='color:red'>我要变红</span>")
    private Integer age;
    @ApiModelProperty("班级id")
    private Integer classId;
}
